package com.example.educationblockchain.model;

public class Grade {
    private String id;

    private String name;

    private String credit;

    private String type;

    private String score;

    private String semester;

    public Grade() {
    }

    public Grade(String id, String name, String credit, String type, String score, String semester) {
        this.id = id;
        this.name = name;
        this.credit = credit;
        this.type = type;
        this.score = score;
        this.semester = semester;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    @Override
    public String toString() {
        return "Grade{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", credit='" + credit + '\'' +
                ", type='" + type + '\'' +
                ", score='" + score + '\'' +
                ", semester='" + semester + '\'' +
                '}';
    }
}
